package model

// Config 系统配置
type Config struct {
	ID    int    `json:"id" gorm:"primaryKey;type:int;comment:'id'"`
	Title string `json:"title" gorm:"type:varchar(100);comment:'变量标题'"`
	Group string `json:"group" gorm:"type:varchar(30);comment:'分组'"`
	Value string `json:"value" gorm:"type:text;comment:'变量值'"`
}

func (Config) TableName() string {
	return "system_config"
}
